package com.zp.base.dubbo;

import com.zp.base.api.RemoteClinicForRegistService;
import com.zp.base.service.scheduling.IClinicForRegistService;
import lombok.RequiredArgsConstructor;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

@RequiredArgsConstructor
@Service
@DubboService
public class RemoteClinicForRegistServiceImpl implements RemoteClinicForRegistService {

    private final IClinicForRegistService clinicForRegistService;


    @Override
    public Boolean updateCurrentNum (String clinicForRegistId, String orgId) {
        return clinicForRegistService.updateCurrentNum(clinicForRegistId, orgId);
    }
}
